Free desktop tools and utilities for Windows. Download our software now.Free desktop tools and utilities for Windows. Download our software now.
HomeContact
free windows software utility
free windows software tools

Hardware Unique ID Extractor
Example for Visual Basic (VB) programmers

Hardware unique ID extractor

 

free software

Delphi programming C/C++  programming VB (Visual Basic)  programming

 

TOC

 

 

Hardware ID extractor - partition serial number,hard drive serial number,volume serial number

 

 

Programing language: Basic

Enviroment: Microsoft Visual Basic

Source code by:

For Hardware ID Extractor DLL version: 2.0

 

 

 

 


 

 

Example for Visual Basic 5 programmers

 

In your BAS file write this: 
  
  Attribute VB_Name = "HardwareIDExtractor" Public Declare Function GetIDESerialNumber 
                      Lib "HardwareIDExtractorC.DLL" (ByVal DriveNumber As Byte) As String
  
  
 
  
  In your FRM file write something like this:
  
  VERSION 5.00
  Begin VB.Form Form1
  Your form code here...
  bla bla bla...
  End
  
  
  Private Sub Command1_Click()
  Dim DriveNumber As Byte
  DriveNumber = 0
  Text1.Text = GetIDESerialNumber(DriveNumber)
  End Sub

Note: Don't forget to call ReleaseMemory when you are done with the function.

 

  visual basic 5

 

 

 

free windows desktop software utility

Hardware ID Extractor Support